<?php
/**
 * Notes:
 * Created by PhpStorm.
 * Author: TS
 * Date: 2019/10/26
 * Time: 21:40
 */

namespace app\validate;


use think\Validate;

class RuleValidate extends Validate
{
    protected $field = [
        'rule_name' => '规则名称',
        'rule_info' => '规则介绍',
        'rule_key' => '规则别名',
        'rule_group_id' => '规则组编号'
    ];

    protected $rule = [
        'rule_name' => 'require',
        'rule_info' => 'require',
        'rule_key' => 'require',
        'rule_group_id' => 'require'
    ];

}